package com.sloan.community.repository;

import com.sloan.community.po.Tag;
import org.springframework.data.r2dbc.repository.Query;
import org.springframework.data.r2dbc.repository.R2dbcRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Flux;

@Repository
public interface TagRepository extends R2dbcRepository<Tag, Long> {

    Flux<Tag> findByParentId(Long parentId);

}
